package com.wsc.goods.controller;

import com.wsc.interfaces.RedisInterface;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class GoodsController {

    @Autowired
    private RedisInterface rf;

    @GetMapping("/com/wsc/goods")
    public String say(){
        return rf.RedisSay();
    }

}
